package sddz.foodmanage.model;

import java.util.List;

/**
 * @Date:2019/7/5
 * @Author:lbb
 * 商品分类
 */

public class ClassifyBean {

    /**
     * message : 成功
     * status_code : 200
     * data : [{"id":3,"name":"干豆类及制品","created_at":"2019-06-24 01:01:47","updated_at":"2019-06-24 16:22:19"}]
     */

    private String message;
    private int status_code;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 3
         * name : 干豆类及制品
         * created_at : 2019-06-24 01:01:47
         * updated_at : 2019-06-24 16:22:19
         */

        private int id;
        private String name;
        private String created_at;
        private String updated_at;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }
}
